<?php if( $sf_params->get('id') ): ?>
    <?php echo __('Old password'); ?>: 
	<?php echo input_password_tag('user[old_password]'); ?><br/>
<?php endif; ?>
<?php if( $sf_params->get('id') ): ?>
    <?php echo __('New password'); ?>: 
<?php else: ?>
    <?php echo __('Password'); ?>: 
<?php endif; ?>
<?php echo input_password_tag('user[new_password]'); ?><br/>

<?php echo __('repeat password'); ?>:
<?php echo input_password_tag('user[newrepeat_password]'); ?><br/>
